package com.z.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.z.blog.entity.Blog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * blogMapper接口
 *
 * @author z
 * @date 2022-08-26
 */
@Mapper
public interface BlogMapper extends BaseMapper<Blog> {
    /**
     * 查询blog列表
     *
     * @param blog blog
     * @return blog集合
     */
    List<Blog> selectBlogList(Blog blog);
    List<Blog> selectBlogListByTagId(Blog blog);
    /**
     * 查询blog列表
     *
     * @param blog blog
     * @return blog集合
     */
    List<Blog> selectBlogListByS(Blog blog);

}
